﻿@model HR.ProjectX.GUI.ViewModels.Vehicle.VehicleIndexView

@{
    ViewBag.Title = "Vehicles";
}

<h1 class="page-title">@Model.VehicleCategory</h1>


@if (Model.Vehicles.Count() > 0)
{
    
        foreach (var item in Model.Vehicles)
        {
            <div class="vehicle" style="background: url('/Content/images/@item.Model.ModelName .jpg') no-repeat;">
                <ul>
                    <li><a href="/Vehicle/Detail/@item.Model.ModelName">@item.Model.ModelName</a></li>
                    <li>$@item.DailyHireRate a day</li>
                </ul>
            </div>
        } 
}


    <tr>
        <td></td>
        <td></td>
    </tr>
